#import "JoyfulXeroxCell.h"


@implementation JoyfulXeroxCell

- (instancetype)initWithFrame:(CGRect)frame {
	self = [super initWithFrame:frame];
	if (self) {
		//self.contentView.backgroundColor = UIColor.whiteColor;
	}
	return self;
}

- (void)setDriftKaleidoscope:(JoyfulXeroxModel *)driftKaleidoscope {
	_driftKaleidoscope = driftKaleidoscope;

	//: 配置cell的UI

	self.dreamerDriftGracefulLabel.text = driftKaleidoscope.brave;

	self.clarityQuestLabel.text = [NSString stringWithFormat:@"Count: %lu", (unsigned long)driftKaleidoscope.waffleStillnessXerox.count];

}
- (UITextView *)pictureTextView {
	if (!_pictureTextView) {
	
        _pictureTextView = [[UITextView alloc] initWithFrame:CGRectZero];
        _pictureTextView.frame = CGRectMake(48, 26, 131, 58);
	}
	return _pictureTextView;
}

- (UITextView *)journeyWindfallUnityTextView {
	if (!_journeyWindfallUnityTextView) {
	
        _journeyWindfallUnityTextView = [[UITextView alloc] init];
	}
	return _journeyWindfallUnityTextView;
}

- (UITextView *)nostalgicXenophileTextView {
	if (!_nostalgicXenophileTextView) {
	
        _nostalgicXenophileTextView = [[UITextView alloc] init];
	}
	return _nostalgicXenophileTextView;
}

- (UITextView *)clarityQuestTextView {
	if (!_clarityQuestTextView) {
	
        _clarityQuestTextView = [[UITextView alloc] initWithFrame:CGRectZero];
	}
	return _clarityQuestTextView;
}

//: plumeZealZipper 的点击事件
- (void)action_9 {}

- (void)breezePeacefulConfigUI {
	//: 描述_0
	[self.contentView addSubview:self.pictureTextView];


    //: 描述_1
    UITextField *xenonApple = [[UITextField alloc] init];
    xenonApple.size = CGSizeMake(176, 105);
    xenonApple.left = 13;
    xenonApple.top = 1;
    self.wanderTextField = xenonApple;
    [self.contentView addSubview:xenonApple];


    //: 描述_2
    UILabel *tranquility = [UILabel new];
    tranquility.text = @"label_2";
    tranquility.font = [UIFont systemFontOfSize:20 weight:UIFontWeightMedium];
    tranquility.textColor = [UIColor colorWithRed:80/255.0 green:144/255.0 blue:66/255.0 alpha:0.6];
    tranquility.textAlignment = NSTextAlignmentLeft;
    tranquility.numberOfLines = 0;
    self.dreamerDriftGracefulLabel = tranquility;
    [self.contentView addSubview:tranquility];
	[self.dreamerDriftGracefulLabel mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(44);
		make.height.mas_equalTo(59);
		make.top.equalTo(@(25));
	}];

	//: 描述_3
	[self.contentView addSubview:self.journeyWindfallUnityTextView];
	[self.journeyWindfallUnityTextView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(183);
		make.height.mas_equalTo(38);
		make.top.equalTo(@(15));
	}];


    //: 描述_4
    self.illuminateWaffleAlchemyTextField = [UITextField new];
    self.illuminateWaffleAlchemyTextField.frame = CGRectMake(7, 31, 85, 135);
    [self.contentView addSubview:self.illuminateWaffleAlchemyTextField];

	//: 描述_5
	[self.contentView addSubview:self.nostalgicXenophileTextView];
	[self.nostalgicXenophileTextView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(99);
		make.height.mas_equalTo(160);
	}];


    //: 描述_6
    UIView *laugh = [UIView new];
    self.oasisBalanceRippleView = laugh;
    [self.contentView addSubview:laugh];
	[self.oasisBalanceRippleView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(98);
		make.height.mas_equalTo(134);
	}];


    //: 描述_7
    self.clarityQuestLabel = [[UILabel alloc] initWithFrame:CGRectZero];
    self.clarityQuestLabel.size = CGSizeMake(166, 36);
    self.clarityQuestLabel.left = 33;
    self.clarityQuestLabel.top = 16;
    self.clarityQuestLabel.text = @"label_7";
    self.clarityQuestLabel.font = [UIFont systemFontOfSize:12 weight:UIFontWeightMedium];
    self.clarityQuestLabel.textColor = [UIColor colorWithRed:128/255.0 green:36/255.0 blue:164/255.0 alpha:0.8];
    self.clarityQuestLabel.textAlignment = NSTextAlignmentCenter;
    self.clarityQuestLabel.numberOfLines = 0;
    [self.contentView addSubview:self.clarityQuestLabel];

	//: 描述_8
	[self.contentView addSubview:self.clarityQuestTextView];
	[self.clarityQuestTextView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(180);
		make.height.mas_equalTo(180);
		make.bottom.equalTo(@(26));
	}];


    //: 描述_9
    UIButton *plumeZealZipper = [[UIButton alloc] init];
    plumeZealZipper.frame = CGRectMake(26, 38, 62, 156);
    UIImage *hazeBalloonUniverse = [UIImage imageNamed:@"images/icon_9.png"];
    if (hazeBalloonUniverse) {
	    [plumeZealZipper setImage:hazeBalloonUniverse forState:UIControlStateNormal];
    }
    [plumeZealZipper setTitle:@"button_9" forState:UIControlStateNormal];
    [plumeZealZipper setTitle:@"button_selected_9" forState:UIControlStateSelected];
    [plumeZealZipper setTitleColor:[UIColor colorWithRed:47/255.0 green:140/255.0 blue:55/255.0 alpha:0.7] forState:UIControlStateNormal];
    [plumeZealZipper setTitleColor:[UIColor colorWithRed:36/255.0 green:225/255.0 blue:133/255.0 alpha:0.9] forState:UIControlStateSelected];
    [plumeZealZipper addTarget:self action:@selector(action_9) forControlEvents:UIControlEventTouchUpInside];
    self.wonderButton = plumeZealZipper;
    [self.contentView addSubview:plumeZealZipper];
}


@end